<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>事件</title>
</head>
<body>
<div id="app">
    {{heima}}<br/>
    <button v-on:click="heima++">你点我啊，点我我变大</button>
    <br/>
    <button v-on:mouseover="heima--">我又变小了</button>
</div>
<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let app = new Vue({
        el: "#app",
        data: {
            heima: 18
        }
    });
</script>
</body>
</html>